package com.bes.aiProject;

import com.bes.aiProject.service.AnomalyCheckService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.time.LocalDateTime;

@SpringBootTest
@RunWith(SpringRunner.class)
public class MainTst {
    @Autowired
    private AnomalyCheckService anomalyCheckService;

    @Test
    public void test1() {
        LocalDateTime currentTime = LocalDateTime.now();

        System.out.println("<<....................anomalyCheckService start..................>>");
        anomalyCheckService.AnomalyCheck(currentTime);
        System.out.println("<<....................anomalyCheckService end..................>>");

    }
}
